<?php
require_once(dirname(__FILE__) . '/' . 'PatientUserInfor.class.php');

class GuaHaoInfor {
	private $hospital;
	private $office;
	private $expert;
	private $orderDate;
	private $acceptablePrice;
	private $userInfor;
	
	public function __construct($hospital, $office, $expert, $date) {
		$this->hospital = $hospital;
		$this->office = $office;
		$this->expert = $expert;
		$this->orderDate = $date;
	}
	
	public function getHospital() {
		return $this->hospital;
	}
	
	public function getOffice() {
		return $this->office;
	}
	
	public function getExpert() {
		return $this->expert;
	}
	
	public function getOrderDate() {
		return $this->orderDate;
	}
	
	public function setUserInfor($user) {
		$this->userInfor = $user;
	}
	
	public function getUserInfor() {
		settype($this->userInfor, "object");
		return $this->userInfor;
	}
	
	public function setAcceptPrice($price) {
		$this->acceptablePrice = $price;
	}
	
	public function  getAcceptPrice() {
		return $this->acceptablePrice;
	}
}
?>